package com.youpingou.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.youpingou.domain.Sku;
import com.youpingou.domain.SpecificationOption;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface SpecificationOptionMapper extends BaseMapper<SpecificationOption> {
    @Select("select * from tb_specification_option where spec_id = #{specid}")
    public List<SpecificationOption> findSpecificationOptionBySpecid(Integer specid);
    //
    @Select("select * from tb_specification_option where spec_id = #{specid}")
    public List<SpecificationOption> findSpecificationOptionBySpecId(Integer specid);
}
